package com.nervenets.shopping.enumeration;

import com.nervenets.general.enumeration.Enums;

public enum OrderStatus implements Enums {
    cancel("已取消"),
    init("待付款"),
    paid("待成团"),
    grouped("待发货"),
    shipped("待收货"),
    finish("已完成"),
    refund("已退款"),
    ;
    private final String text;

    OrderStatus(String text) {
        this.text = text;
    }

    @Override
    public String getText() {
        return text;
    }

    @Override
    public String getValue() {
        return this.name();
    }
}
